Skip to content

fix: include pre-built device_page/dist in resources to fix empty Filament Manager#10832

Open
BenJule wants to merge 3 commits into
bambulab:masterfrom
BenJule:fix/10799-device-page-dist-missing
Open

fix: include pre-built device_page/dist in resources to fix empty Filament Manager#10832
BenJule wants to merge 3 commits into
bambulab:masterfrom
BenJule:fix/10799-device-page-dist-missing

Conversation

@BenJule

@BenJule BenJule commented May 20, 2026

Copy link
Copy Markdown
Contributor

Problem

The Filament Manager tab shows a blank white page on macOS (issue #10799) and throws a "file not found" error on Linux AppImage (issue #10806).

Root cause: resources/web/device_page/dist/ is excluded from the repository by the **/dist/ gitignore rule. All other embedded web pages in BambuStudio (resources/web/fila_manager/, resources/web/device/, resources/web/login/, etc.) are pre-built static assets committed directly to git. The device_page/dist/ was the only exception — it was only generated at CMake build time via the device_page_build custom target, and was never included in the Linux AppImage or macOS DMG release packages.

Fix

  • Add a .gitignore exception to track resources/web/device_page/dist/
  • Commit the pre-built assets (index.html, assets/index.{css,js}, img/**)

The CMake device_page_build target still rebuilds these files on a full source build; the committed dist serves as the reliable fallback that release packages depend on — matching the approach used for every other embedded web page.

Test plan

  • Open Filament Manager tab on macOS → page loads correctly (no blank view)
  • Open Filament Manager tab on Linux AppImage → no "file not found" error
  • resources/web/device_page/dist/index.html present in packaged AppImage

Closes #10799
Closes #10806

BenJule added 3 commits May 21, 2026 10:52
The upstream build_all.yml only listed 'main' as a push trigger.
BenJule/BambuStudio uses 'master' as its default branch, so CI never
fired on fork-local pushes. Adding 'master' alongside 'main' makes
the full multi-platform build run when master is updated.
…ament Manager

The `resources/web/device_page/dist/` directory was excluded from the
repository by the `**/dist/` gitignore rule.  All other web assets in
`resources/web/` are pre-built static files committed directly to git,
but `device_page/dist/` was only generated at CMake build time and never
packaged into the Linux AppImage or macOS DMG releases.

Add a gitignore exception to track `resources/web/device_page/dist/` and
commit the pre-built assets (index.html, assets/index.{css,js}, img/**).
This mirrors how all other embedded web pages in BambuStudio are shipped.

The CMake `device_page_build` target will still rebuild these files on a
full source build; the committed dist serves as the fallback that release
packages rely on.

Closes bambulab#10799
Closes bambulab#10806
@BenJule BenJule force-pushed the fix/10799-device-page-dist-missing branch from 00c37f1 to 09561d7 Compare May 21, 2026 08:55
@rochacbruno

Copy link
Copy Markdown

Same issue found on Linux APPImage

@BenJule

BenJule commented May 31, 2026

Copy link
Copy Markdown
Contributor Author

Hi @rochacbruno,

Thanks for the feedback. Yeah, that missing device_page/dist/ folder completely breaks the Filament Manager in the latest v02.07.00.55 Public Beta AppImage on Linux.

The fix is already baked into this PR (Commit #09561d7). I added the pre-built static assets back to the resources directory, which aligns with how the other embedded tabs in Bambu Studio are structured.

The PR is just sitting in the queue right now, waiting for review from the BBL team (@MackBambu, @XunZhangBambu, and @walterwongbbl). Once they merge it, the tab will work out of the box in the next AppImage release.

Appreciate you bringing it up!

@BenJule BenJule closed this Jun 7, 2026
@BenJule BenJule deleted the fix/10799-device-page-dist-missing branch June 7, 2026 10:09
@BenJule BenJule restored the fix/10799-device-page-dist-missing branch June 7, 2026 11:38
@BenJule BenJule reopened this Jun 7, 2026
@BenJule

BenJule commented Jun 7, 2026

Copy link
Copy Markdown
Contributor Author

Apologies — this PR was closed by mistake on 2026-06-07, and that was an error on my side, not a deliberate decision to withdraw the change.

It happened as an unintended side effect of a branch cleanup in my fork: deleting the head branch automatically closed this PR. The contribution still stands. I have restored the branch and reopened the PR. Sorry for the noise and any confusion this caused.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Filament Manager: missing device_page/dist/index.html in Linux AppImage v02.07.00.55 (2.7.0 Public Beta) Filament Manager tab empty (macOS)

2 participants